import { createApp, h } from 'vue';

import App from './App.vue'
import TsCard from './components/TsCard.vue'

// const app = createApp({
//   render: () => {
//     return h('div', ['hello APP'])
//   }
// });
const app = createApp(App);
// new Vue({
//   render:h=>h(App)
// })

app.config.errorHandler = (err) => {
  /*处理错误*/
  console.log(err);
}

app.component('TsCard', TsCard);
app.mount('#app');
